package com.shell.customer.graph.vo;

public class GraphNode {
	private String name;
	private String value;
	private String category;
	private String nodeId;

	public String getNodeId() {
		return this.nodeId;
	}

	public void setId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public int hashCode() {
		int prime = 31;
		int result = 1;
		result = 31 * result + (this.name == null ? 0 : this.name.hashCode());
		return result;
	}

	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		GraphNode other = (GraphNode) obj;
		if (this.name == null) {
			if (other.name != null) {
				return false;
			}
		} else if (!this.name.equals(other.name)) {
			return false;
		}
		return true;
	}
}
